/*
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package org.schema.domain.thing.intangible.rating;

import org.schema.domain.Thing;
import org.schema.domain.thing.intangible.Rating;

/**
 * The average rating based on multiple ratings or reviews.
 */
public interface AggregateRating extends Rating {

	/**
	 * The item that is being reviewed/rated.
	 *
 	 * @return Thing
	 */
	Thing getItemReviewed();

	/**
	 * The item that is being reviewed/rated.
	 *
 	 * @param thing
	 * @return void
	 */
	void setItemReviewed(Thing thing);

	/**
	 * The count of total number of ratings.
	 *
 	 * @return Integer
	 */
	Integer getRatingCount();

	/**
	 * The count of total number of ratings.
	 *
 	 * @param integer1
	 * @return void
	 */
	void setRatingCount(Integer integer1);

	/**
	 * The count of total number of reviews.
	 *
 	 * @return Integer
	 */
	Integer getReviewCount();

	/**
	 * The count of total number of reviews.
	 *
 	 * @param integer1
	 * @return void
	 */
	void setReviewCount(Integer integer1);

}